﻿<!DOCTYPE html>
<html>
<head>
    <title>@ViewBag.Title</title>
    <link href="@Url.Content("~/Content/Site.css")" rel="stylesheet" type="text/css" />   
    <script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"></script>
    <script src="@Url.Content("~/Scripts/jquery-ui-1.8.11.min.js")" type="text/javascript"></script>

    <link href="@Url.Content("~/Content/MenuStyle.css")" rel="stylesheet" type="text/css" />
    <link href="@Url.Content("~/Content/userSite.css")" rel="stylesheet" type="text/css" />

    @*Scroll Bar*@

    <script src="../../Scripts/ScrollBar/jquery.mCustomScrollbar.concat.min.js" type="text/javascript"></script>
    <link href="../../Content/scroll_css/jquery.css" rel="stylesheet" type="text/css" />
    
     @RenderSection("HeaderContent", required:false)

</head>

<body>
<center>     
        <div class="divmenu Clearfix">
            <div class="main">@Html.Partial("main_menu_user")</div>
        </div>
        
        <div class="divContent Clearfix main">
               
               <div class="Clearfix">
                   <div class="div_leftmenu">
                   </div>
                   <div class="div_rightContent">
                        <div id="Dcontent" class="mCustomScrollbar">
                            @RenderBody() 
                        </div>
                   </div>
               </div>
              
              
              <div class="Clearfix footerhome">
                    @Html.Partial("us_footer")                    
              </div>

        </div>
        
</center>
   

   <center>
    <div id="alert-box" class="alert-popup">            
            <div id="alert_content" class="alert_txt">           
            </div>            
        </div>
   </center>

</body>

<script type="text/javascript">

    $(document).ready(function () {
        var dt = new Date();
        var se_url = "/Home/GetSearch?dt=" + dt.getTime();
        $("#Serch_left").load(se_url);

        var slideleft = "/ProLand/GetLandIsShowTop?dt=" + dt.getTime();
        $("#SlideLeft").load(slideleft);

        contentHeight();
    });

    $(window).resize(function () {
        contentHeight();
    });

    function contentHeight() {

        //var w_height = $(window).height();
        var _ctheight = 750;

        $("#Dcontent").css({
            "height": _ctheight
        });

        $("#Dcontent").mCustomScrollbar();

    }
    
    </script>
<script src="../../Scripts/Custom_popup.js" type="text/javascript"></script>
</html>
